<div ng-controller="AccountvalueCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li>{{'会员账户'|translate}}</li>
        <li class="active">
            {{"列表"|translate}}
        </li>
        <!-- <span class="sui-form sui-form pull-right"> 
          <input type="text"  placeholder="{{'id'|translate}}"  ng-model="id">
          <input type="text"  placeholder="{{'keyword'|translate}}"  ng-model="keyword">
          <button class="sui-btn btn-primary" type="submit" ng-click="getCooperationList()">{{'search'|translate}}</button>
        </span> -->
        <span class="sui-form sui-form pull-right">
            <span ng-show="member_id">
                <wxinfo ng-model="member_id" stye="1" is-url="1"></wxinfo>
                <button type="button" class="sui-btn btn-small  btn-danger" ng-show="member_id"   ng-click="member_id=0"> X</button>
            </span>
        <chose-member member-check="memberdata(memberInfo)" title="选择用户" app="1" chosed-items="chosedMembers"></chose-member>
        <button class="sui-btn btn-primary" type="submit" ng-click="getlist(1,member_id)">{{'search'|translate}}</button>
        </span>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'#'|translate}}</th>
                <th>{{'会员信息'|translate}}</th>
                <th><a href="" ng-click="getlist(0,0,'integral')"><span ng-show="asc">↓</span><span ng-show="!asc">↑</span>{{'会员积分'|translate}}</a></th>
                <!-- <th>{{'不可以积分'|translate}}</th> -->
                <th> <a href="" ng-click="getlist(0,0,'balance')"><span ng-show="asc">↓</span><span ng-show="!asc">↑</span>{{'账号余额'|translate}}</a></th>
                <th> <a href="" ng-click="getlist(0,0,'bonus')"><span ng-show="asc">↓</span><span ng-show="!asc">↑</span>{{'红包余额'|translate}}</a></th>
                <!-- <th>{{'手机号'|translate}}</th> -->
                <th>{{'操作'|translate}}</th>
                <!-- <th>{{'城市'|translate}}</th> -->
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="(k ,list) in accounts">
                <td>{{list.member_id}}</td>
                <td>
                    <wxinfo ng-model="list.member_id" stye="1"></wxinfo>
                </td>
                <td>
                    {{list.integral}}
                </td>
                <!-- <td>{{list.freeze_integral}} -->
                <td>
                    {{(list.balance+list.present).toFixed(2)}}</a>
                </td>
                <td>{{list.bonus}}</td>
                <!-- <td>{{list.phone}}</td> -->
                <td>
                    <a href="#/member/account?member_id={{list.member_id}}" class="sui-btn btn-success">账户信息</a>
                    <!-- <a href="#/member/info?member_id={{list.member_id}}" class="sui-btn btn-success">会员信息</a> -->
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="{{ pageNo }}" page-size="page_Size" total="total_count" get-data="getlist(pageNo)"></pager>
    <!-- 分页end -->
</div>